Fix Bug: if condition error

Brightcells 8 years ago
parent
commit
bde2c87eae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      startup.sh

+ 1 - 1
startup.sh

@@ -22,7 +22,7 @@ if [ "$oldversion" != "$version" ] && [ "$deldb" = "true" ]; then
22 22
 fi
23 23
 
24 24
 # Start Server
25
-if [ ! -d "/ramfs/" ]; then
25
+if [ -d "/ramfs/" ]; then
26 26
     nohup python main.py --port=8002 &>/ramfs/minipai2.log &
27 27
 else
28 28
     nohup python main.py --port=8002 &>/tmp/minipai2.log &